package com.lifang.imsoa.im.comm;

import com.lifang.imsoa.im.vo.ClientSecretCredential;
import com.lifang.imsoa.im.vo.Credential;
import com.lifang.imsoa.util.Global;

public interface Constants {
	/** USER_ROLE_APPADMIN value: appAdmin */
	public static String USER_ROLE_APPADMIN = "appAdmin";
	
	/** 环信appkey*/
    public static String JRSP_APPKEY = Global.jrspHxConfig.getAppkey();
    
    /** 获得证书对象*/
    public static Credential jrsp_credential = new ClientSecretCredential(JRSP_APPKEY,Global.jrspHxConfig.getApp_client_id(),
    		Global.jrspHxConfig.getApp_client_secret(), USER_ROLE_APPADMIN);
	
}
